package com.example.dbsample.model.vo;

import com.example.dbsample.annotation.BeanFieldAnnotation;
import lombok.Data;

import java.util.Date;

/**
* 机构管理;
* @author : http://www.chiner.pro
* @date : 2024-5-4
*/
@Data
public class SysOrgVo {
   /**
    * id
    */
   private Integer id;
   /**
    * 上级ID
    */
   @BeanFieldAnnotation(desc = "上级ID", filedType = "Integer")
   private Integer pid;
   /**
    * 机构名称
    */
   @BeanFieldAnnotation(desc = "机构名称")
   private String name;
   /**
    * 排序
    */
   @BeanFieldAnnotation(desc = "排序", filedType = "Integer")
   private Integer sort;
   /**
    * 租户ID
    */
   @BeanFieldAnnotation(desc = "租户ID", filedType = "Integer")
   private Integer tenantId;
   /**
    * 版本号
    */
   @BeanFieldAnnotation(desc = "版本号", filedType = "Integer")
   private Integer version;
   /**
    * 删除标识  0：正常   1：已删除
    */
   @BeanFieldAnnotation(desc = "是否删除（0-有效；1-删除）", filedType = "Integer")
   private Integer deleted;
   /**
    * 创建者
    */
   @BeanFieldAnnotation(desc = "创建人", filedType = "Integer")
   private Integer creator;
   /**
    * 创建时间
    */
   //@BeanFieldAnnotation(desc = "创建时间", filedType = "Date")
   @BeanFieldAnnotation(desc = "创建时间")
   private Date createTime;
   /**
    * 更新者
    */
   @BeanFieldAnnotation(desc = "更新人", filedType = "Integer")
   private Integer updater;
   /**
    * 更新时间
    */
   //@BeanFieldAnnotation(desc = "更新时间", filedType = "Date")
   @BeanFieldAnnotation(desc = "更新时间")
   private Date updateTime;
}